﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Doo_JetDAL;





namespace DooJetTester
{
    class Program
    {
        static void Main(string[] args)
        {
            using(DataEntities db = new DataEntities()){
                List<TypeCompte> lst = db.TypeCompte.ToList();
                Console.WriteLine(String.Format("Liste des TypeCompte :"));
                foreach (TypeCompte item in lst)
                {
                    Console.WriteLine(String.Format("{0}\t{1}", item.id_TypeCompte, item.libelle));
                }
            }
            
        }
    }
}
